package com.training.admin.rao;

import com.demo2do.core.entity.result.HttpResult;
import com.demo2do.core.http.HttpMethod;
import com.demo2do.core.http.annotation.Rao;
import com.demo2do.core.http.annotation.RaoConfig;
import com.demo2do.core.http.annotation.RaoMapping;
import com.demo2do.core.http.annotation.RaoUrl;

/**
 * @author xiaoHU
 *
 */
@Rao
@RaoConfig(parse = true)
public interface TraineeRao {

    /**
     * @param url
     * @return
     */
    @RaoMapping(method = HttpMethod.GET)
    @RaoConfig(parse = true, contentType = "application/json;charset=UTF-8")
    public HttpResult list(@RaoUrl String url);

}
